package org.haifi.service;

import org.haifi.game.dao.GameUserMapper;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 测试一下mybatis的分页和列表查询和排序
 * 
 * @author joycube2
 * 
 */
public class MybatisTest2 extends GameBaseManagerTestCase {
	@Autowired
	private GameUserMapper gameUserMapper;

	@Test
	public void test() {
		log.info(gameUserMapper);
		gameUserMapper.getAll();
//		GameUser gameUser=gameUserMapper.getUser(1);
//		// gameUserMapper.
//		gameUser.setUsername("hello world");
//		gameUserMapper.update(gameUser);
		
	}
}
